package org.dromara.learning_xq.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 模板条件(AsQuestionCondition)表实体类
 *
 * @author makejava
 * @since 2024-08-23 15:42:18
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AsQuestionCondition extends Model<AsQuestionCondition> {
    //主键id
    private Long id;
    //主键父id
    private Long pid;
    //所属模块
    private String moduleBelongs;
    //所属考点
    private String belongingExamination;
    //所属题型
    private String typeQuestion;
    @TableField(exist = false)
    private List<AsQuestionCondition> children; // 子节点列表
}

